package com.ruoyi.web.controller.sso;

/**
 * description: 统一认证中心常量常量
 * auth fcb
 * date 2025-04-10 14:33
 **/
public class AuthCenterConst {

    public static final String AUTH_CENTER_SUCCESS_CODE= "200";

    public static final String DATA_SUCCESS_CODE = "000000";

    // sm2私钥
    public static final String sm2PrivateKey= "009a0d23037a3967d9dca4472921a538e7976273542032099f2cbaa0bb64f8c51e";

    // 本系统单点登录标识
    public static final String AUTH_CENTER_SSO_FLAG = "auth-center";

    // 应用唯一标识（联系山东省统一身份认证平台管理员获取）
    public static final String APP_ID = "SDSZHUUIHUJDWRR";

    // 身份类型（1-个人，2-法人）
    public static final String USER_TYPE_NATURE = "1";

    public static final String USER_TYPE_ENTERPRISE = "2";

    // 获取签名地址
    public static final String AUTH_CENTER_SIGN_URL = "https://tysfrz.isdapp.shandong.gov.cn/jpaas-jags-server/interface/createsign.do";

    // 用票据换token的接口
    public static final String AUTH_CENTER_TOKEN_URL = "https://tysfrz.isdapp.shandong.gov.cn/jpaas-jags-server/interface/gateway.do";

    // 获取法人用户信息的接口
    public static final String AUTH_CENTER_ENTERPRISE_USER_INFO_URL = "https://tysfrz.isdapp.shandong.gov.cn/jpaas-jags-server/interface/gateway.do";

    public static final String AUTH_CENTER_NATURE_USER_INFO_URL = "https://tysfrz.isdapp.shandong.gov.cn/jpaas-jags-server/interface/gateway.do";

}
